gdkdnd: Stick to the first gdk_drag_drop_done() result
authorCarlos Garnacho <carlosg@gnome.org>
Mon, 15 Feb 2016 17:56:42 +0000 (18:56 +0100)
committerCarlos Garnacho <carlosg@gnome.org>
Mon, 15 Feb 2016 18:04:22 +0000 (19:04 +0100)
commit38d0d0a687c0c7416188cd6095ae4ebf69dc4f53
tree325f06cee46406e408a1a9d3d0d119c11aaa1868
parentd26801c92309ea9bf9dfb4e755ae5e8db80b4cce
gdkdnd: Stick to the first gdk_drag_drop_done() result

That way we can let ::cancel callers to override the visual
result of the operation (eg. when detaching notebook tabs on
NO_TARGET).

Also, document gdk_drag_drop_done() so it is mentioned that
this is a one-shot call.

https://bugzilla.gnome.org/show_bug.cgi?id=761954
gdk/gdkdnd.c
gdk/gdkdndprivate.h